package cn.akwangl.design.pattern.structural.decorator.v3;

/**
 * 装饰抽象类
 *
 * @author youyongkun
 * @date 2021/11/25 17:11
 * @since 1.0
 */
public abstract class AbstractPhoneDecorator extends AbstractPhone {
    private AbstractPhone phone;

    public AbstractPhoneDecorator(AbstractPhone phone) {
        this.phone = phone;
    }

    @Override
    public void print() {
        phone.print();
    }
}
